<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/6/12
 * Time: 17:01
 */

namespace app\index\model;


use think\Model;

class LoginModel extends Model
{
    protected $name = 'user';

    public function vailateUserInfo($data)
    {
        return $this->where($data)->find();
    }
}